﻿using System;

namespace Dora.Interception
{
    /// <summary>
    /// 代理拦截生成器
    /// </summary>
    public interface IInterceptableProxyGenerator
    {
        /// <summary>
        /// 生成代理对象
        /// </summary>
        /// <param name="serviceType">服务类型</param>
        /// <param name="implementationType">实现类型</param>
        /// <returns>代理</returns>
        Type Generate(Type serviceType, Type implementationType);
    }
}
